package com.trusfort.redis;

public class PipelineParams {
    private String key;
    private RedisType type;
    private Object value;
    private long expire;

    public PipelineParams(){}
    public PipelineParams(String key, RedisType type, Object value, long expire){
        this.key = key;
        this.type = type;
        this.value = value;
        this.expire = expire;
    }




    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public RedisType getType() {
        return type;
    }

    public void setType(RedisType type) {
        this.type = type;
    }

    public Object getValue() {
        return value;
    }

    public void setValue(Object value) {
        this.value = value;
    }

    public long getExpire() {
        return expire;
    }

    public void setExpire(long expire) {
        this.expire = expire;
    }
}
